﻿  @{
   if (Html.ViewContext.RouteData.GetRequiredString("controller") == "Home" && Html.ViewContext.RouteData.GetRequiredString("action") == "Login")
    {
         Layout = "~/Views/Shared/_Login.cshtml";
    }
    else
    {
        Layout = "~/Views/Shared/_Layout.cshtml";
    }
}